package io.itit.ecp.admin.provide.action.req;

import io.itit.ecp.admin.provide.action.validation.IAllotDataRangeRole;
import io.itit.grass.common.provide.action.validation.IAdd;
import io.itit.grass.core.provide.action.req.UserReq;
import io.itit.grass.core.provide.action.validation.IResetPassword;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：用户扩展参数
 * @Date：Create by 2024-01-18 10:56:48
 */
@Data
@ToString
@ApiModel("用户扩展参数")
public class UserExtReq extends UserReq {

    @NotBlank(groups = {IAllotDataRangeRole.class})
    @ApiModelProperty("主键")
    private String id;

    @NotBlank(groups = {IAllotDataRangeRole.class})
    @ApiModelProperty("数据范围Id")
    private String dataRangeId;

}
